﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Domain.User
{
    /// <summary>
    /// 账号实体
    /// </summary>
    [Table("accountmodel")]
    public class AccountModel:BaseEntity
    {
        [StringLength(28)]
        /// <summary>
        /// 账号
        /// </summary>
        public string AccountName { get; set; }
        [StringLength(128)]
        /// <summary>
        /// 密码
        /// </summary>
        public string AccountPwd { get; set; }
        [StringLength(15)]
        /// <summary>
        /// 真实姓名
        /// </summary>
        public string RealName { get; set; }
        /// <summary>
        /// 年龄
        /// </summary>
        public int Age { get; set; }
        [StringLength(11)]
        /// <summary>
        ///联系方式 手机号
        /// </summary>
        public string Phone { get; set; }
        [StringLength(30)]
        /// <summary>
        /// 地址
        /// </summary>
        public string Addr { get; set; }
        [StringLength(300)]
        /// <summary>
        /// 简介
        /// </summary>
        public string Info { get; set; }


    }
}
